package com.loading;

import java.util.List;
import java.util.Random;

public class RandomStrategy extends Strategy{

    @Override
    public int choose(int size, Object o)throws Exception {
        return (int)(Math.random()*size);
    }
}
